package ModelLayer;

public class Serialnumber
{
    // instance variables - replace the example below with your own
    private long serialnumber;

    /**
     * Constructor for objects of class Serialnumber
     */
    public Serialnumber(long serialnumber)
    {
        // initialise instance variables
        this.serialnumber = serialnumber;
    }
    
    public void changeInfo(long serialnumber)
    {
        this.serialnumber = serialnumber;
    }

    public void getInfo()
    {
        System.out.println("Serial Number: "+serialnumber);
    }
    
    public void getSerialnumber()
    {
        System.out.println(""+serialnumber);
    }
}
